< previous page page_304 next page >

Page 304
Suppliers
City
State
Zip
Phone

Use this information to answer the questions that follow:
1. Write an SQL statement to list all of the customers. Include their IDs, names, addresses, phone numbers, and customer types.
2. Display all of the information in the Open Invoice table, but display CustomerID as Account.
3. Display the same information requested in Exercise 2, but sort the data by customer and then by invoice number within each customer.
4. Display all suppliers that can be found within New York City. Display their IDs, names, addresses, and phone numbers.
5. Display the Customer types, names, and addresses for all customers with a customer type of ABC.
6. Select and display customer IDs and names for customer names beginning with AME.
7. Display the CustomerID and Name of all customers who have an open invoice. Sort your information by CustomerID.
8. Select and display the five largest outstanding invoices.
9. Display a listing of names and phone numbers of all customers and vendors who reside in Ohio.

 
< previous page page_304 next page >

If you like this book, buy it!